import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter);

// 导出路由
export default new VueRouter({
  routes: [{
    path: '/',
    name: 'home',
    component: () => import('@/views/index/Home.vue')
  }, {
    path: '/parser',
    name: 'parser',
    component: () => import('@/components/parser/example/Index.vue')
  }]
})
